﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QianBuo.Lottery.Web.Models.PayModels.CardPayModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	点卡充值
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <fieldset>
            <legend><%=Html.ActionLink("在级充值", "Index", null, new { @class="a_blue"})%> 点卡充值</legend>
            <% Html.BeginForm(); %>
            <%=Html.ValidationMessage("Error") %>
            <ul class="editlist">
                <li><span class="label">卡号:</span> <span>
                    <%=Html.TextBoxFor(p => p.Number, new { @class="width300"})%><%=Html.ValidationMessageFor(p=>p.Number) %></span>
                </li>
                <li><span class="label">密码:</span> <span>
                    <input type="password" id="Password" name="Password" /><%=Html.ValidationMessageFor(p => p.Password)%></span>
                </li>
                <li><span class="label">验证码:</span>
                    <span>
                        <%=Html.TextBoxFor(p=>p.CheckCode) %>
                        <%=Html.ValidationMessageFor(p=>p.CheckCode) %>
                        <img valign="middle" src='<%=Url.Content("~/Login/CheckCode/CardPay") %>' class="checkimg"
                            onclick="this.src='<%=Url.Content("~/Login/CheckCode/CardPay") %>?'+ Math.random()"
                            alt="点击换一张" />
                    </span>
                </li>
                <li class="btn">
                    <input type="submit" <%=ViewData["btnAddDisabled"]!=null&&((bool)ViewData["btnAddDisabled"])?"disabled='disabled'":"" %> value="确认充值" onclick="return confirm('确认无误充值吗？')" />
                </li>
            </ul>
            <% Html.EndForm(); %>
        </fieldset>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StyleAndScript" runat="server">
<style type="text/css">
    .width300{width:300px;}
</style>
</asp:Content>
